<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>COOK - Administrator Console</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" />
<link rel="stylesheet" type="text/css" href="css/css.css" />
<link rel="stylesheet" type="text/css"
	href="js/jquery-easyui-1.4.3/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css"
	href="js/jquery-easyui-1.4.3/themes/icon.css" />
<link rel="stylesheet" type="text/css"
	href="js/SimpleTree1.3/js/tree_themes/SimpleTree.css" />
<link rel="stylesheet" type="text/css" href="css/colorReset.css" />
<style>
.logo {
	margin: -17px 0 0 0;
	margin: -14px 0 0 0\9;
}

.layout-split-north {
	border-bottom: 5px solid #FFFFFF;
}

.layout-split-west {
	border-right: 5px solid #FFFFFF;
}

/*树*/
.panel-header {
	background: url(images/tree_header.png) left top repeat-x;
	padding: 0 0 0 20px;
	border: 1px solid #8fa7c0;
	filter: none;
}

.layout-button-left {
	background: url(images/layout_arrows.png) no-repeat 0 0;
}

.panel-title {
	font-size: 16px;
	font-weight: bold;
	color: #FFFFFF;
	line-height: 30px;
	height: 30px;
}

.st_tree {
	padding: 0;
	display: none;
}

.st_tree .hover {
	background-color: #ffffc8;
}

.st_tree .hover a:hover {
	text-decoration: none;
}

.st_tree ul {
	padding: 0;
	margin: 0;
}

.st_tree>ul {
	padding: 0 0 0 0;
	margin: 0;
	background-color: #effbff;
}

.st_tree ul li {
	font-size: 13px;
	color: #222;
	line-height: 22px;
	cursor: pointer;
	list-style: none;
	background: url(images/st_node.png) 40px 7px no-repeat;
	background-repeat: no-repeat;
	padding: 3px 0 3px 56px;
}

.st_tree>ul>li {
	font-size: 14px;
	color: #333;
	border-bottom: 1px solid #cfd9e4;
	line-height: 38px;
	cursor: pointer;
	list-style: none;
	padding: 0 0 0 18px;
	position: relative;
}

.tree_li {
	position: absolute;
	right: 0px;
	top: 0px;
	background: url(images/tree_li.png) left top repeat-y;
	height: 38px;
	width: 4px;
}

.st_tree>ul>li.last_li {
	border-bottom: 1px solid #cfd9e4;
}

.pri-control {
	display: none;
}

.parent-folder {
	display: none;
}

.st_tree .folder {
	/*list-style-image: url(imgs/st_icon.png);*/
	background: #FFFFFF url(images/st_folder.png) 20px 12px no-repeat;
	background-repeat: no-repeat;
	padding: 0 0 0 38px;
}

.st_tree>ul>ul {
	border-bottom: 1px solid #cfd9e4;
	padding: 0;
	background-color: #effbff;
}

.st_tree>ul>ul>li.folder {
	background: #ebf0f6 url(images/st_folder.png) 40px 5px no-repeat;
	font-size: 12px;
	line-height: 26px;
	cursor: pointer;
	list-style: none;
	padding: 0 0 0 58px;
}

.st_tree .open {
	/*list-style-image: url(imgs/st_icon_open.png);*/
	background: #FFFFFF url(images/st_folder_open.png) 20px 12px no-repeat;
	background-repeat: no-repeat;
	padding: 0 0 0 38px;
}

.st_tree>ul>ul>li.hover {
	color: #ffa700;
}

.st_tree>ul>ul>li.open {
	background: #ebf0f6 url(images/st_folder_open.png) 40px 5px no-repeat;
	color: #ffa700;
	line-height: 26px;
	padding: 0 0 0 58px;
}

.st_tree>ul>ul>ul>li {
	background: url(images/st_node.png) 60px 4px no-repeat;
	padding: 0 0 3px 76px;
}
/*列表*/
/*.layout-panel-center > .panel-body{
	border-radius:10px 10px 0 0;
}*/
.tabs-header {
	background-color: #FFFFFF;
	/*padding-top:0;*/
}

.tabs-title {
	font-size: 14px;
}

.tabs {
	padding: 0 0 3px 0;
	background: url(images/tabs.png?v=20151217) left 29px repeat-x;
}

.tabs li.tabs-first {
	padding: 0 0 0 3px;
}

.tabs li.tabs-last {
	padding: 0 3px 0 0;
}

.tabs-last li .tabs_l {
	float: right;
	width: 11px;
	height: 30px;
}

.tabs li.tabs-selected .tabs_l {
	width: 7px;
	height: 30px;
	float: left;
	background: url(images/tabs_l.png?v=20151216-3) -1px top repeat-x;
}

.tabs li {
	/*padding:0 3px 0 0;*/
	padding: 0;
	height: 29px;
	margin: 0;
	background: url(images/tabs_r_n_l.png) left 0px no-repeat;
}

.tabs li.tabs-selected {
	padding: 0 57px 0 0;
	background: url(images/tabs_r.png?v=20151216-3) right 0px no-repeat;
}

.tabs li.tabs-selected.tabs-first .tabs_l {
	background: url(images/tabs_l_first.png) -1px top repeat-x;
}

.tabs li.tabs-selected.tabs-last {
	padding: 0 62px 0 0;
	background: url(images/tabs_r_last.png?v=20151216-3) right 0px no-repeat;
}

.tabs li.tabs-last a.tabs-inner:hover {
	background: none;
	/*color:#0d5bba;
	background:#effcff url(images/tabs_r_n.png?v=20151216-5) right -1px no-repeat;*/
	color: #0d5bba;
}

.tabs li a.tabs-close {
	background: none;
	width: 13px;
	height: 13px;
	line-height: 13px;
	font-weight: bold;
	text-align: center;
	color: #0d5bba;
	font-size: 12px;
	right: 6px;
	top: 16px;
}

.tabs li.tabs-selected a.tabs-close {
	right: 52px;
}

.tabs li a:hover.tabs-close {
	background-color: #b9f0fd;
}

.tabs li a.tabs-inner {
	display: inline-block;
	text-decoration: none;
	/*background:#effcff url(images/tabs_r_n_l.png?v=20151216-4) left -1px no-repeat;*/
	background: none;
	color: #0d5bba;
	filter: none;
	margin: 0;
	padding: 0 12px 0 10px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	white-space: nowrap;
	border-width: 1px;
	border-style: solid;
	border-color: #87aacd;
	-moz-border-radius: 0 0 0 0;
	-webkit-border-radius: 0 0 0 0;
	border-radius: 0 0 0 0;
	border-left: none;
	border-right: none;
	border-bottom: none;
}

.tabs li.tabs-last a.tabs-inner {
	background: none;
	/*background:#effcff url(images/tabs_r_n.png?v=20151216-5) right -1px no-repeat;*/
}

.tabs li.tabs-selected a.tabs-inner {
	padding: 0 2px 0 10px;
	border-width: 1px;
	border-style: solid;
	border-color: #87aacd;
	border-right: none;
	border-bottom: none;
	border-left: none;
}

.tabs li a.tabs-inner:hover {
	/*color:#0d5bba;
	background:#effcff url(images/tabs_r_n_l.png?v=20151216-4) left -1px no-repeat;*/
	background: none;
	color: #0d5bba;
}

.tabs li.tabs-last.tabs-selected a.tabs-inner:hover {
	color: #FFFFFF;
	background: url(images/tabs_bg.png?v=20151216-3) left -2px repeat-x;
}

.tabs li.tabs-selected a.tabs-close {
	color: #FFFFFF;
}

.tabs li.tabs-selected a.tabs-inner {
	background: url(images/tabs_bg.png?v=20151216-3) left -2px repeat-x;
	filter: none;
	color: #FFFFFF;
	float: left;
}

.tabs li.left {
	background: #effcff url(images/tabs_r_n_l.png?v=20151216-4) left -1px
		no-repeat;
}

.tabs li.right {
	background: #effcff url(images/tabs_r_n.png?v=20151216-5) right -1px
		no-repeat;
}

.title-menu {
	float: right;
	padding-right: 20px;
	height: 50px;
	line-height: 50px;
	position: relative;
	text-align: right;
	overflow: hidden;
}

.top_time, .top_user {
	width: 11px;
	padding: 0 3px 0 0;
}

#time {
	padding: 0 45px 0 0;
}

.title-menu p a {
	color: #FFFFFF;
}

.disEdit {
	background: url(images/user_list.png) right -13px no-repeat;
	padding: 2px 10px 2px 2px;
}

.title-menu p a.selected {
	background-color: #ffffff;
	background-image: none;
	color: #f33;
}

#disEditLi {
	display: none;
	position: absolute;
	right: 20px;
	top: 32px;
	background: #FFFFFF;
	/*border:1px solid #DBDBDB;*/
	z-index: 100;
	padding: 2px;
	margin: 20px 10px 0;
}

.up-point {
	position: absolute;
	right: -8px;
	top: -23px;
	width: 13px;
	height: 15px;
	background: url(images/up_point.png) center center no-repeat;
}

.disEditLi-main {
	position: relative;
	width: 110px;
	height: 112px;
	margin: 0;
	border: none;
	padding: 0;
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
}

.disEditLi-main-con {
	position: absolute;
	width: 125px;
	top: -13px;
	left: -13px;
	z-index: 150;
	padding: 0 5px;
}

#disEditLi li {
	line-height: 24px;
	height: 24px;
	border-bottom: 1px dashed #E8E8E8;
	padding: 5px;
}

#disEditLi li.lastli {
	border-bottom: none;
}

#disEditLi li:hover {
	background-color: #ffa;
}

#disEditLi li a {
	display: block;
	margin-top: -3px;
	padding: 3px 0;
}

#disEditLi li img {
	float: left;
	width: 18px;
	margin-top: 3px;
	margin-right: 5px;
}

.popup_con {
	width: 450px;
	border: none;
}

.popup_con ul {
	width: 450px;
}

.popup_con ul li.li_col {
	width: 450px;
}

.li_col .label {
	width: 140px;
}

.li_col .text {
	width: 220px;
}

.button_con button {
	display: inline;
	cursor: pointer;
}

.popup_con {
	display: none;
}

.passwordStrength {
	width: 228px;
	margin-left: 140px;
	color: #fff;
	font-size: 12px;
	margin-bottom: 0px;
}

.passwordStrength>span {
	float: left;
	width: 74px;
	max-width: 120px;
	margin-left: 1px;
	text-align: center;
	background: #ccc;
}

.passwordStrength>span.first.bgStrength {
	background: #FC7272;
}

.passwordStrength>span.second.bgStrength {
	background: #FCC072;
}

.passwordStrength>span.last.bgStrength {
	background: #79D00D;
}

/*
**主题换肤style
*
*/
.Ejectreplace {
	position: fixed;
	z-index: 10009;
	width: 576px;
	border: 1px solid #ccc;
	margin: 200px 0 0 480px;
	border-radius: 5px 5px 0 0;
	background: #fff;
}

.Ejectreplace li {
	height: 40px;
	line-height: 40px;
	float: left;
	margin-left: 40px;
	margin-bottom: 38px;
}

.Ejectreplace li span {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin-right: 20px;
	background: #436EEE;
}

.close_pop {
	width: 18px;
	height: 18px;
	display: inline-block;
	border-radius: 15px;
	background: #66CD00;
	color: #fff;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	line-height: 16px;
}

.min_close {
	width: 500px;
	font-size: 14px;
	text-align: center;
	line-height: 45px;
	display: inline-block;
}

.min_close button {
	width: 80px;
	height: 34px;
	font-size: 14px;
	outline: inherit;
	margin-right: 20px;
	color: #fff;
	background: #5CACEE;
}
</style>
</head>

<body class="easyui-layout">


	<div region="north" split="true" border="false"
		style="overflow: hidden; height: 48px; background: url(images/layout-browser-hd-bg.png) #FFFFFF repeat-x center 50%; line-height: 50px; color: #fff; font-family: Verdana, 微软雅黑, 黑体">
		<div class="head title-menu">
			<p id="time" class="fl">&nbsp;</p>
			<p class="fl">
				<img src="images/top_user.png" alt="" class="top_user" />欢迎 <span
					id="role"></span> ! &nbsp;&nbsp;<a href="javascript:void(0);"
					id="disEdit" class="disEdit"></a>
			</p>
		</div>
		<div style="padding-left: 10px; font-size: 16px;">
			<img src="images/top_logo.png" class="logo" align="absmiddle" alt="" />
			接口管理平台 <label style="margin-left: 10px; font-size: 12px;">V1.1.03_001</label>
		</div>
	</div>

	<div region="west" split="true" style="width: 235px;" title="导航菜单">
		<div class="st_tree">
			<ul>
				<li id="mainWindowPage" data-load="true"><a href="#">主界面</a></li>
				<!--  <li class="">主界面</li>-->
				<ul style="border: none;">
					<!--  <li id="mainWindowPage"><a href="#">主界面</a></li>-->
				</ul>

				<li class="parent-folder">基础设置</li>
				<ul>
					<!-- <li id="systemSource" class="pri-control"><a href="pages/Infrastructure/SystemResourcePool.html">系统资源库管理</a></li> -->
					<li id="paramSetting" class="pri-control"><a
						href="pages/Infrastructure/EmailServiceSetting.html">基础服务设置</a></li>
				</ul>

				<li class="parent-folder">用户管理</li>
				<ul>
					<li id="roleDelegation" class="pri-control"><a
						href="pages/UserManagement/RoleDelegation.html">用户角色管理</a></li>
					<li id="userRoleManagement" class="pri-control"><a
						href="pages/UserManagement/UserRoleManagement.html">用户授权管理</a></li>
					<li id="userManagement" class="pri-control"><a
						href="pages/UserManagement/UserManagement.html">用户信息管理</a></li>
					<!--<li><a href="pages/UserManagement/PassChange.html">修改密码</a></li>-->
					<!--<li><a href="pages/UserManagement/PassRetrieve.html">密码找回</a></li>-->
					<!--<li><a href="pages/UserManagement/ModifyPersonalInfo.html">修改个人资料</a></li>-->
				</ul>

				<li class="parent-folder">台账管理</li>
				<ul>
					<li id="fieldManagement" class="pri-control"><a
						href="pages/LedgerManagement/FieldManage.html">领域管理</a></li>
					<li id="fieldSystemManagement" class="pri-control"><a
						href="pages/LedgerManagement/FieldSystemManage.html">领域系统管理</a></li>
					<li id="company" class="pri-control"><a
						href="pages/LedgerManagement/CompanyManage.html">组织管理</a></li>
					<!-- <li id="department" class="pri-control"><a href="pages/LedgerManagement/DepartmentsManage.html">部门组织管理</a></li> -->
					<li id="fieldSystemInterfaceManagement" class="pri-control"><a
						href="pages/LedgerManagement/FieldSystemInterfaceManage.html">数据库接口管理</a></li>
					<li id="interfaceSchedulingManagement" class="pri-control"><a
						href="pages/LedgerManagement/InterfaceScheduling.html">数据库接口调度管理</a></li>
					<li id="fieldSystemSourceManagement" class="pri-control"><a
						href="pages/LedgerManagement/FieldSystemDataSourceManage.html">数据库数据源管理</a></li>
					<li id="dbLinkManagement" class="pri-control"><a
						href="pages/LedgerManagement/DBlinkManage.html">DBLINK管理</a></li>
					<li id="dbLinkRelationInterfaceManagement" class="pri-control"><a
						href="pages/LedgerManagement/DBlinkInterface.html">DBLINK关联接口管理</a></li>
					<li id="dbLinkDatabaseLinkManagement" class="pri-control"><a
						href="pages/LedgerManagement/DBlinkDataSource.html">DBLINK数据库链接管理</a></li>
					<!-- <li id="interfaceServiceSettings" class="pri-control"><a href="pages/LedgerManagement/InterfaceSettingService.html">执行接口服务设置</a></li> -->
				</ul>

				<li class="parent-folder">接口监控</li>
				<ul>
					<li class="folder parent-folder">服务监控</li>
					<ul>
						<li id="governorControl" class="pri-control"><a
							href="pages/InterfaceMonitoring/ServiceMonitoring/MonitorConsole.html">总监控台</a></li>
						<li id="fieldServiceMonitoring" class="pri-control"><a
							href="pages/InterfaceMonitoring/ServiceMonitoring/FieldServiceMonitor.html">领域服务监控</a></li>
					</ul>
					<li class="folder parent-folder">节点监控</li>
					<ul>
						<li id="clusterNodeManage" class="pri-control"><a
							href="pages/InterfaceMonitoring/NodeMonitoring/ClusterNodeManage.html">ESB节点管理</a></li>
						<li id="nodeInformationOverView" class="pri-control"><a
							href="pages/InterfaceMonitoring/NodeMonitoring/KettleInfoOverview.html">节点信息总览</a></li>
						<li id="serverMonitor" class="pri-control"><a
							href="pages/InterfaceMonitoring/NodeMonitoring/ServerMonitor.html">节点运行监控</a></li>
						<li id="nodeRunLog" class="pri-control"><a
							href="pages/InterfaceMonitoring/NodeMonitoring/KettleServerLog.html">节点运行日志</a></li>
						<li id="nodeRunStatistics" class="pri-control"><a
							href="pages/InterfaceMonitoring/NodeMonitoring/KettleServerStatistics.html">节点运行统计</a></li>
					</ul>
					<li class="folder parent-folder">作业监控</li>
					<ul>
						<li id="fieldInterfaceBasicInfoQuery" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/FieldInterfaceBasicInformationCheck.html">数据库接口基本信息查询</a></li>
						<li id="fieldInterfaceHistoryInfoQuery" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/FieldInterfaceHistoryInformationCheck.html">数据库接口历史信息查询</a></li>
						<li id="fieldSystemInterfaceStatistics" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/FieldSystemInterfaceStatistics.html">领域系统接口统计</a></li>
						<li id="interfaceVersionHistoryQuery" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/InterfaceVersionHistory.html">数据库接口版本历史</a></li>
						<li id="interfaceSchedulingHistoryQuery" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/InterfaceSchedulingHistoryQuery.html">数据库接口调度历史</a></li>
						<li id="implementationInterfaceQuery" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/ImplementationInterfaceQuery.html">执行中接口查询</a></li>
						<li id="historyInterfaceImplementationQuery" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/HistoricalInterfaceImplementation.html">数据库接口历史执行情况</a></li>
						<li id="implementationInterfaceSummaryTable" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/InterfaceSummaryTable.html">已执行接口汇总表</a></li>
						<li id="failuredWarningInfoReport" class="pri-control"><a
							href="pages/InterfaceMonitoring/OperationMonitoring/FailureWarningInformation.html">失败告警信息上报</a></li>
					</ul>
					<!-- <li class="folder parent-folder">用户监控</li>
        	<ul>
	            <li id="systemUserLog" class="pri-control"><a href="pages/InterfaceMonitoring/UserMonitoring/UserLog.html">系统用户日志</a></li>
	            <li id="systemUserOperationStatistics" class="pri-control"><a href="pages/InterfaceMonitoring/UserMonitoring/SystemUserOperationStatistics.html">系统用户操作统计</a></li>
	        </ul> -->
				</ul>
				<li class="parent-folder">服务测试</li>
				<ul>
					<li id="serviceUsabilityTest" class="pri-control"><a
						href="pages/esb/ServiceTest/ServiceUsabilityTesting.html">服务可用性检测</a></li>
					<li id="serviceConsumerTest" class="pri-control"><a
						href="pages/esb/ServiceTest/ServiceConsumerTesting.html">服务消费方测试</a></li>
					<li id="serviceProviderTest" class="pri-control"><a
						href="pages/esb/ServiceTest/ServiceProviderTesting.html">服务发布方测试</a></li>
				</ul>
				<li class="parent-folder">服务渠道管理</li>
				<ul>
					<li id="serviceAccessApplication" class="pri-control"><a
						href="pages/esb/ServiceChannelManagement/serviceAccessApplicationList.html">服务接入申请</a></li>
					<li id="serviceAccessManagement" class="pri-control"><a
						href="pages/esb/ServiceChannelManagement/ServiceAccessManagement.html">服务接入管理
					</a></li>
					<li id="channelSystemManagement" class="pri-control"><a
						href="pages/esb/ServiceChannelManagement/ChannelSystemManagement.html">渠道系统管理</a></li>
				</ul>
				<li class="parent-folder">路由管理</li>
				<ul>
					<li id="addressMappingManagement" class="pri-control"><a
						href="pages/esb/RoutingManagement/AddressMaping.html">地址映射管理</a></li>
					<li id="serviceRouting" class="pri-control"><a
						href="pages/esb/RoutingManagement/routingSetting.html">服务路由</a></li>
					<li id="serviceRoutingTable" class="pri-control"><a
						href="pages/esb/RoutingManagement/routingTable.html">路由表</a></li>
				</ul>

				<li class="parent-folder">资源管理</li>
				<ul>
					<li id="metaDataManagement" class="pri-control"><a
						href="pages/esb/ResourceManager/wsdlMetaDataManager.html">wsdl元数据管理</a></li>
					<!-- <li id="serviceConsumerTesting" class=""><a href="pages/esb/ServiceTest/ServiceConsumerTesting.html">服务消费方测试</a></li>
            <li id="serviceProviderTesting" class=""><a href="pages/esb/ServiceTest/ServiceConsumerTesting.html">服务提供方测试</a></li> -->
				</ul>

				<li class="parent-folder">服务管理</li>
				<ul>
					<li id="serviceRegistration" class="pri-control"><a
						href="pages/esb/ServiceManagement/serviceRegistration.html">服务注册</a></li>
					<li id="basicServiceManagement" class="pri-control"><a
						href="pages/esb/ServiceManagement/BaseServiceManagement.html">基础服务管理</a></li>
					<li id="basicServiceBrowsing" class="pri-control"><a
						href="pages/esb/ServiceManagement/BaseServiceView.html">基础服务浏览</a></li>
					<li id="businessServiceManagement" class="pri-control"><a
						href="pages/esb/ServiceManagement/businessServiceManagement.html">业务服务管理</a></li>
					<li id="serviceAudit" class="pri-control"><a
						href="pages/esb/ServiceManagement/businessServiceVerify.html">服务审核</a></li>
					<li id="serviceAudit" class=""><a
						href="pages/esb/ServiceManagement/ServicePulish.html">服务发布</a></li>
					<li id="serviceBrowsing" class="pri-control"><a
						href="pages/esb/ServiceManagement/businessServiceView.html">服务浏览</a></li>

				</ul>
				<li class="parent-folder">服务监控</li>
				<ul>
					<li id="serviceAlarmDetail" class="pri-control"><a
						href="pages/esb/ServiceMonitoring/InterfaceWarningHis.html">服务告警明细</a></li>
					<li id="serviceAlarmManagement" class="pri-control"><a
						href="pages/esb/ServiceMonitor/ServiceAlarmManagement.html">服务告警管理</a></li>
					<li id="serviceAlarmStatistics" class="pri-control"><a
						href="pages/esb/ServiceMonitor/ServiceAlarmStatistics.html">服务告警统计</a></li>
					<li id="platformThroughput" class="pri-control"><a
						href="pages/esb/ServiceMonitor/PfThroughput.html">平台吞吐量</a></li>
					<li id="flowAnalysis" class="pri-control"><a
						href="pages/esb/ServiceMonitor/QuantityAnalysis.html">流量分析</a></li>
					<li id="concurrentNumber" class="pri-control"><a
						href="pages/esb/ServiceMonitor/concurrency.html">平台并发实时跟踪</a></li>
					<li id="serviceResponseTime" class="pri-control"><a
						href="pages/esb/ServiceMonitor/ServiceResponseTime.html">服务响应时间</a></li>
				</ul>
				<li class="parent-folder">服务日志管理</li>
				<ul>
					<li id="systemLogLevelManagement" class="pri-control"><a
						href="pages/esb/ServiceLogManagement/SystemLogLevelManagement.html">系统日志查询</a></li>
					<li id="serviceLogQuery" class="pri-control"><a
						href="pages/esb/ServiceLogManagement/ServiceLogSearch.html">服务日志查询</a></li>
					<li id="serviceLogManagement" class="pri-control"><a
						href="pages/esb/ServiceLogManagement/ServiceLogManagement.html">服务日志管理</a></li>
					<li id="serviceLogTrace" class="pri-control"><a
						href="pages/esb/ServiceLogManagement/ServiceLogTrace.html">Http调用追踪</a></li>
					<li id="systemUserLog" class="pri-control"><a
						href="pages/InterfaceMonitoring/UserMonitoring/UserLog.html">系统用户日志</a></li>
					<li id="systemUserOperationStatistics" class="pri-control"><a
						href="pages/InterfaceMonitoring/UserMonitoring/SystemUserOperationStatistics.html">系统用户操作统计</a></li>
				</ul>
				<li class="parent-folder">存储转发</li>
				<ul>
					<li id="storeAndForwardProcessQuery" class="pri-control"><a
						href="pages/esb/storeAndForward/processQuery.html">存储转发流程查询</a></li>
					<li id="storeAndForwardStatisticsReport" class="pri-control"><a
						href="pages/esb/storeAndForward/statisticalReports.html">存储转发统计报表</a></li>
				</ul>
				<li class="parent-folder">流量控制</li>
				<ul>

					<li id="flowDetailReport" class="pri-control"><a
						href="pages/esb/QuantityControl/QuantityDetailReport.html">流量明细报表</a></li>
					<li id="flowControl" class="pri-control"><a
						href="pages/esb/QuantityControl/QuantityControl.html">流量控制</a></li>
				</ul>
				<li class="parent-folder">服务排查</li>
				<ul>
					<li id="weightServiceInvestigation" class="pri-control"><a
						href="pages/esb/ServiceMonitoring/DetectDuplic.html">重复服务排查</a></li>
					<li id="serviceReuseDegree" class="pri-control"><a
						href="pages/esb/ServiceCheck/ServiceReuseDegree.html">服务重用度</a></li>
				</ul>

				<li class="parent-folder">报文管理</li>
				<ul>
					<li id="messageManagement" class="pri-control"><a
						href="pages/esb/MessageManagement/messageManagement.html">报文管理</a></li>
				</ul>

				<!--  
        <li class="last_li">Kettle设计器</li>
        <ul style="border-top:none;">
            <li><a href="http://www.cnblogs.com">功能集合</a></li>
        </ul>
        -->
			</ul>
		</div>
	</div>

	<div region="center">
		<div id="tabs" class="easyui-tabs" fit="true" border="false"></div>
	</div>

	<div id="disEditLi">
		<div class="disEditLi-main">
			<div class="border_con top-border">
				<div class="corner_con left-top-corner"></div>
				<div class="corner_con right-top-corner"></div>
			</div>
			<div class="up-point"></div>
			<div class="border_con left-border"></div>
			<div class="disEditLi-main-con">
				<ul>
					<li><a href="javascript:void(0);" id="editpass"><img
							src="images/pencil_icon.png" alt="修改密码" />修改密码</a></li>
					<li><a href="javascript:void(0);" id="editperData"><img
							src="images/modify_icon.png" alt="修改个人信息" />修改个人资料</a></li>
					<li class="list_Popup"><a href="javascript:void(0);"
						id="Skinpeeler"><img src="images/icons/more.png" alt="主题换肤" />主题管理</a></li>
					<li class="lastli"><a href="javascript:void(0);" id="loginOut"><img
							src="images/exit_icon.png" alt="安全退出" />安全退出</a></li>
				</ul>
			</div>
			<div class="border_con right-border"></div>
			<div class="border_con bottom-border">
				<div class="corner_con left-bottom-corner"></div>
				<div class="corner_con right-bottom-corner"></div>
			</div>
		</div>
	</div>

	<!--弹出主题风格-->
	<div class="Ejectreplace" style="display: none;">
		<div style="background: url(images/repat-y.jpg) repeat-x";>
			<div class="min_close">系统换肤</div>
			<div
				style="display: inline-block; float: right; margin-right: 10px; margin-top: 7px;">
				<span class="close_pop mins_close_pop">一</span> <span
					class="close_pop"
					style="background: #fff; float: right; display: block; margin-left: 4px;"><img
					src="images/icons/no.png" width="18" alt="" /> </span>
			</div>
		</div>
		<ul
			style="overflow: hidden; height: 180px; background: #B2DFEE; height: 258px; padding-top: 20px;">
			<li id="skin_one" class="selected"><span></span>
				<div style="float: right;">
					<input type="radio" name="chboxPeriod" checked="checked" /> 主题蓝
				</div></li>
			<!-- <li id="skin_two"><input type="radio" name="chboxPeriod" /> <span></span>   </li>
			<li id="skin_three"><input type="radio" name="chboxPeriod" /> <span></span>  </li>
			<li id="skin_four"><input type="radio" name="chboxPeriod" /> <span></span>   </li>
			<li id="skin_five"><input type="radio" name="chboxPeriod" /> <span></span>   </li>
			<li id="skin_six"><input type="radio" name="chboxPeriod" /> <span></span>    </li>
			<li id="skin_seven"><input type="radio" name="chboxPeriod" checked="checked" /> <span></span>  </li> -->
		</ul>
	</div>



	<!--修改个人资料-->
	<div id="ModifyPersonalInfo" title="修改个人资料">
		<div class="popup_con">
			<form id="modifyForm" method="post">
				<ul>
					<li class="li_col"><label for="companyCode" class="label">公司：</label>
						<div class="input_con">
							<input id="companyCode" name="companyCode" type="text"
								class="text" readonly="readonly" />
						</div></li>
					<li class="li_col"><label for="deptCode" class="label">部门：</label>
						<div class="input_con">
							<input id="deptCode" name="deptCode" type="text" class="text"
								readonly="readonly" />
						</div></li>
					<li class="li_col"><label for="userCode" class="label">账号：</label>
						<div class="input_con">
							<input id="userCode" name="userCode" type="text" class="text"
								readonly="readonly" />
						</div></li>
					<li class="li_col"><label for="userName" class="label">姓名：</label>
						<div class="input_con">
							<input id="userName" name="userName" type="text"
								class="easyui-validatebox text"
								data-options="required:true,validType:'length[1,10]'"
								missingMessage="姓名不能为空，且10个字符以内！" />
						</div></li>
					<li class="li_col"><label for="empNo" class="label">工号：</label>
						<div class="input_con">
							<input id="empNo" name="empNo" type="text"
								class="easyui-validatebox text"
								data-options="required:true,validType:'length[1,20]'"
								missingMessage="工号不能为空，且20个字符以内！" />
						</div></li>
					<li class="li_col"><label for="emailAddress" class="label">邮箱地址：</label>
						<div class="input_con">
							<input id="emailAddress" name="emailAddress" type="text"
								class="easyui-validatebox text"
								data-options="required:true,validType:'email'"
								missingMessage="请输入有效的电子邮件地址，如example@szlanyou.com"
								invalidMessage="请输入有效的电子邮件地址，如example@szlanyou.com" />
						</div></li>
					<li class="li_col"><label for="phoneNumber" class="label">电话：</label>
						<div class="input_con">
							<input id="phoneNumber" name="phoneNumber" type="text"
								class="easyui-validatebox text"
								data-options="required:true,validType:'phone'"
								missingMessage="请输入正确格式的电话号码，如020-88888888,15888888888" />
						</div></li>
				</ul>


			</form>
			<div id="buttons" class="button_con">
				<button class="default_btn confirm">确认</button>
				<button class="default_btn cancel">取消</button>
			</div>
		</div>
	</div>

	<!--安全退出-->
	<div style="display: none;">
		<form id="logout-form" method="post" action="/api/logout">
			<input type="text" name="username" /> <input type="text"
				name="password" />
		</form>
	</div>

	<!--修改密码-->
	<div id="PassChange" title="修改密码">
		<div class="popup_con">
			<form id="modifyPassForm" method="post">
				<ul>
					<!--<li class="li_col">
			<label for="userCode" class="label">账号：</label>
            <div class="input_con">
			<input id="userCode" name="userCode"  type = "text" class="easyui-validatebox text" data-options="required:true,validType:'username'" missingMessage = "账号不能为空！" invalidMessage = "用户名不合法（字母开头，允许6-16字节，允许字母数字下划线）" />
			</div>
        </li>  -->
					<li class="li_col"><label for="oldPassword" class="label">旧密码：</label>
						<div class="input_con">
							<input id="oldPassword" name="oldPassword" type="password"
								class="easyui-validatebox text" data-options="required:true"
								missingMessage="旧密码不能为空！" />
						</div></li>
					<li class="li_col"><label for="password" class="label">新密码：</label>
						<div class="input_con">
							<input id="password" name="password" plugin="passwordStrength"
								type="password" class="easyui-validatebox text"
								data-options="required:true,validType:'maxLength[117]'"
								missingMessage="新密码不能为空！" maxlength="117" />
						</div></li>
					<li class="li_col" style="padding-top: 0;">
						<div class="passwordStrength">
							<span class="first">弱</span> <span class="second">中</span> <span
								class="last">强</span>
						</div>
					</li>
					<li class="li_col"><label for="confirmPassword" class="label">确认密码：</label>
						<div class="input_con">
							<input id="confirmPassword" name="confirmPassword"
								type="password" class="easyui-validatebox text"
								data-options="required:true" validType="equalTo['#password']"
								missingMessage="确认密码不能为空！" />
						</div></li>
				</ul>


			</form>
			<div id="buttons" class="button_con">
				<button class="default_btn confirm">确认</button>
				<button class="default_btn cancel">取消</button>
			</div>
		</div>
	</div>
	<script type="text/javascript"
		src="js/jquery-easyui-1.4.3/jquery.min.js"></script>
	<script type="text/javascript"
		src="js/jquery-easyui-1.4.3/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="js/Tab.js?v=20151218"></script>
	<script type="text/javascript" src="js/SimpleTree1.3/js/SimpleTree.js"></script>
	<script type="text/javascript" src="js/cook/public.js"></script>
	<script type="text/javascript" src="js/cook/constants.js"></script>
	<script type="text/javascript" src="js/cook/FormValidate.js"></script>
	<script type="text/javascript" src="js/rsa/security.js"></script>
	<script type="text/javascript" src="js/rsa/rsaly.js"></script>
	<script type="text/javascript" src="js/passwordStrength-min.js"></script>

	<script type="text/javascript">

var g_maintainPermissionStr = "";
var g_currUserCode = "";

$(document).ready(function(){
	/* 
	var colors = ['#f40','blue','red','green','#600','#000','#0cf'];
	 $('.Ejectreplace li span').each(function(index,element){
         $(this).css({'background':colors[index]})    
	 }); */
	$('.list_Popup').click(function(){
		$('.Ejectreplace').css('display','block')
	});
	$('.make_sure').click(function(){
		$('.Ejectreplace').css('display','none')
	})
	$('.close_pop').click(function(){
		if($('input[name="chboxPeriod"]').is(':checked')){
			$('.Ejectreplace').css('display','none')
		}
		
	})
	
	$(".easyui-validatebox").blur(function() {
		$(this).validatebox("validate");
	});
	$(".st_tree > ul > li").click(function(e) {
       if($(this).hasClass("open"))
		{
    	    if($(this).attr("id") != "mainWindowPage")
    		{
    	    	$(this).html($(this).text());
    		}
    	    else
    	    {
    	    	$(this).children(".tree_li").remove();
    	    }
		}else
		{
			$(this).append('<div class="tree_li"></div>');	
		} 
    });
	
	$(".popup_con").show();
	$('#PassChange').window({
		width:465,
		modal:true,
		minimizable:false,
		maximizable:false,
		collapsible:false
	});
	$('#ModifyPersonalInfo').window({
		width:465,
		modal:true,
		minimizable:false,
		maximizable:false,
		collapsible:false
	});

	$('#PassChange').window('close');  //关闭窗口
	$('#ModifyPersonalInfo').window('close');  //关闭窗口

	//初始化左边导航呢菜单
	initNavManuList();
	GetCurrUserInfo(true);
	
	$(".button_con a" ).removeClass("l-btn-plain");
    $(".st_tree").SimpleTree({
        click:function(a){
			
              if($(a).attr("hasChild")) 
              {
                  var title=$(a).text();
                  var url=$(a).attr("href") + "?v=" + Date.parse(new Date());
                  //判断用户是否拥有维护操作权限
                  if(g_maintainPermissionStr.indexOf($(a).parent().attr("id")) == -1)//只读权限
                  {
                	  url += "&model=view";
                  }
                  var icon=$(a).attr("icon");
				  if($(a).parent().attr("data-load") == "true")
				  {
					  $(a).parent().removeAttr("data-load");
					  return;
				  }
                  OpenTab(title,url,icon);				  
              }
        }
    });
	$().trigger();
	
	/*$("#disEdit").click(function(e) {
        $("#disEditLi").toggle();
		$("#disEdit").toggleClass("selected");
    });*/
	
	//管理员设置
    $("#disEdit").hover(
        function () { $("#disEditLi").show(); $("#disEdit").addClass("selected");},
        function (e) {
            if (!(e.clientX >= $("#disEditLi").offset().left && e.clientX <= $("#disEditLi").offset().left + $("#disEditLi").width() && e.clientY >= $("#disEditLi").offset().top && e.clientY <= $("#disEditLi").offset().top + $("#disEditLi").height())) {
                $("#disEditLi").hide();
				$("#disEdit").removeClass("selected");
            }
        }
    );
    //管理员设置下拉列表
    $("#disEditLi").hover(
        function () { $(this).show(); $("#disEdit").addClass("selected");},
        function (e) {
            if (!(e.clientX >= $("#disEdit").offset().left && e.clientX <= $("#disEdit").offset().left + $("#disEdit").width() && e.clientY >= $("#disEdit").offset().top && e.clientY <= $("#disEdit").offset().top + $("#disEdit").height())) {
                $("#disEditLi").hide();
				$("#disEdit").removeClass("selected");
            }
        }
    );
	
    
    //用户安全退出
    $("#loginOut").click(function() {
    	$("#logout-form").submit();
    	/* $.ajax({
			type: "post",
			url: "/api/logout",
			data: "",
			contentType: "application/json",
			success: function() {
				window.location.href = "/UserLogin.html";
			},
			error: function() {
				window.location.href = "/UserLogin.html";
			}
		}); */
    });
	
	/*$("#disEditLi a").click(function(e) {
		var title=$(this).text();
		var url=$(this).attr("href");
		var icon=$(this).attr("icon");
		OpenTab(title,url,icon);
        $(this).parents("#disEditLi").fadeOut();
		$("#disEdit").removeClass("selected");
		return false;
    });*/
	
	startTime();
	function startTime() {
		var today = new Date();
		var y = today.getFullYear();
		var M = today.getMonth()+1;
		var d = today.getDate();
		var h = today.getHours();
		var m = today.getMinutes();
		var s = today.getSeconds();
		// add a zero in front of numbers<10
		m = checkTime(m);
		s = checkTime(s);
		$("#time").html('<img src="images/top_time.png" class="top_time" alt="" />' + y+'年'+M+'月'+d+"日 "+h+':'+m+':'+s);//可改变格式
		t = setTimeout(startTime, 500);
		function checkTime(i) {
			if (i < 10) {
				i = "0" + i;
			}
			return i;
		}
	}

	$('input[plugin="passwordStrength"]').passwordStrength({minLen:1,maxLen:200});
	
	//修改密码
	$("#editpass").click(function(e) {
		$("#modifyPassForm")[0].reset();
		$(".passwordStrength > span").removeClass("bgStrength");
		$("#modifyPassForm").form("validate");
		$("#modifyPassForm #oldPassword").focus();
        $('#PassChange').window('open');
    });
	
	//修改个人资料
	$("#editperData").click(function(e) {
		$.ajax({
			url: BASE_URL_USER_SEARCH +'/getCurrentUserInfo?v=' + Date.parse(new Date()),// + userId,
			type: "get",
			data: "",
			contentType: "application/json",
			success: function (data) {
				if(!data)
				{
					$.messager.alert("错误", "<p>查询用户信息异常，请稍后重试或联系管理员</p>", "error");
					return
				}
				//将表格里的html编码还原成原始字符，用于表单显示
				data = JSON.parse(JSON.stringify(data).replace(/&lt;/g, "<").replace(/&gt;/g, ">"));
				$("#companyCode").val(data.companyName);
				$("#deptCode").val(data.deptName);
				$("#userCode").val(data.userCode);
				$("#userName").val(data.userName);
				$("#empNo").val(data.empNo);
				$("#emailAddress").val(data.emailAddress);
				$("#phoneNumber").val(data.phoneNumber);
				
				$(".easyui-validatebox").validatebox("validate");
		        $('#ModifyPersonalInfo').window('open');
			},
			error: function() {
				$.messager.alert('错误','<p>服务异常，查询用户信息失败，请稍后重试!</p>', 'error');
			}
		});
    });
	/*	
	$('#ModifyPersonalInfo #companyCode').combobox({
		editable: false,
		url: BASE_URL_USER_SEARCH +'/showOrganizations?level=1',
		valueField: 'id',
		textField: 'orgName',
		method:'get',
		//data:"level=1",
		onSelect: function(record) {
			$("#companyCode").val(record.id);
			$("#deptCode").val("");
			$('#deptCode').combobox('clear');
			$('#deptCode').combobox('reload',BASE_URL_USER_SEARCH +'/showOrganizations?parentOrgId='+record.id+'&level=2');
			//console.log(record);
		},
		loadFilter:function(data){
			return data;
		},
		onLoadSuccess: function() {
			if(!$("#companyCode").val())
			{
				var defaultId = $("#companyCode").combobox("getData")[0].id;
				$("#companyCode").val(defaultId);
				$("#companyCode").combobox("setValue",$("#companyCode").combobox("getData")[0].id);
			}
			else
			{
				$("#companyCode").combobox("setValue",$("#companyCode").val());
			}
			$("#companyCode").validatebox("validate");
		}		
	});
	
	$('#ModifyPersonalInfo #deptCode').combobox({
		editable: false,
		url: BASE_URL_USER_SEARCH +'/showOrganizations?level=2',
		valueField: 'id',
		textField: 'orgName',
		method:'get',
		//data:"level=2",
		onSelect: function(record) {
			$("#deptCode").val(record.id);
			//console.log(record);
		},
		loadFilter:function(data){
			return data;
		},
		onLoadSuccess: function() {
			if(!$("#deptCode").val())
			{
				var defaultId = $("#deptCode").combobox("getData")[0].id;
				$("#deptCode").val(defaultId);
				$("#deptCode").combobox("setValue",defaultId);
			}
			else
			{
				$("#deptCode").combobox("setValue",$("#deptCode").val());
			}
			$("#deptCode").validatebox("validate");
		}	
		
	});
	*/
	//修改密码
	$("#PassChange .confirm").click(function(e) {
		$("#PassChange .confirm").attr("disabled","disabled").text("提交中...");
		e.preventDefault();
	    if($("#modifyPassForm").form("validate")){
	    	ModifyPassword();
		}
	    else
	    {
			$("#PassChange .confirm").removeAttr("disabled").text("确认");
	    	$(".validatebox-invalid").eq(0).focus();
	    }
	});
	$("#PassChange .cancel").click(function(e) {
		e.preventDefault();
		$('#PassChange').window('close'); 
	});


	//修改个人资料
	$("#ModifyPersonalInfo .confirm").click(function(e) {
		$("#ModifyPersonalInfo .confirm").attr("disabled","disabled").text("提交中...");
		e.preventDefault();
	    if($("#ModifyPersonalInfo #modifyForm").form("validate")){
    		ModifyUserInfo();
			//alert("good");
		}
	    else
	    {
			$("#ModifyPersonalInfo .confirm").removeAttr("disabled").text("确认");
	    	$(".validatebox-invalid").eq(0).focus();
	    }
	});
	$("#ModifyPersonalInfo .cancel").click(function(e) {
		e.preventDefault();
		$('#ModifyPersonalInfo').window('close'); 
	});

});

function initNavManuList() {
	$.ajax({
		type: "get",
		url: BASE_URL_PERMISSION_SEARCH +'/findPermissionsOfCurrentUser?v=' + Date.parse(new Date()),
		data: "",
		contentType: "application/json",
		success: function(result) {
			if(!result)
			{
				$(".st_tree").show();
				return;
			}
			for(var i = 0, len=result.length; i < len; ++i)
			{
				var priName = result[i].split(":")[0];
				var priOpt = result[i].split(":")[1];
				if((!priOpt || priOpt != "view") && g_maintainPermissionStr.indexOf(priName) == -1)
				{
					g_maintainPermissionStr += (g_maintainPermissionStr == ""? "":",") + priName;
				}
				$("#" + priName).show();
				$("#" + priName).parents("ul").prev(".parent-folder").show();
				/*if(priName == "userManagement" || priName == "roleDelegation" || priName == "userRoleManagement")
				{
					$("#" + priName).siblings().show();
				}*/
			}
			$(".st_tree").show();
		},
		error: function() {
			$.messager.alert('提示','<p>服务异常，获取用户权限失败，请稍后重试!</p>', 'error');
		}
	});
}

function GetCurrUserInfo(isFirstTime) {
	$.ajax({
		type: "get",
		url: BASE_URL_USER_SEARCH +'/getCurrentUserInfo?v=' + Date.parse(new Date()),
		data: "",
		contentType: "application/json",
		success: function(result) {
			if(!result)
			{
				return;
			}
			if(result.errorCode == "USER_NO_LOGIN")
			{
				window.location.href = "/UserLogin.html";
			}
			//将表格里的html编码还原成原始字符，用于表单显示
			result = JSON.parse(JSON.stringify(result).replace(/&lt;/g, "<").replace(/&gt;/g, ">"));
			if(isFirstTime)
			{
				g_currUserCode = result.userCode;
				if(result.isAdminOrOther == "admin")
				{
					$("#mainWindowPage > a").attr("href", "pages/Index/main.html");
					$("#mainWindowPage").click().addClass("open");
					OpenTab("主界面","pages/Index/main.html","");
				}
				else
				{
					$("#mainWindowPage > a").attr("href", "pages/Index/main2.html");
					$("#mainWindowPage").click().addClass("open");
					OpenTab("主界面","pages/Index/main2.html","");
				}
			}
			
			$("#role").text(result.userName);
			$("#disEdit").text(result.roleName);
		},
		error: function() {
			$.messager.alert('错误','<p>服务异常，获取当前用户信息失败!</p>', 'error');
		}
	});
}

function GetCurrCompanyInfo(companyUrl) {
	if(!companyUrl)
	{
		return;
	}
	$.ajax({
		type: "get",
		url: companyUrl + '?v=' + Date.parse(new Date()),
		data: "",
		contentType: "application/json",
		success: function(result) {
			$("#companyCode").val(result.orgName);
		}
	});
}

function GetCurrDeptmentInfo(deptUrl) {
	if(!deptUrl)
	{
		return;
	}
	$.ajax({
		type: "get",
		url: deptUrl + '?v=' + Date.parse(new Date()),
		data: "",
		contentType: "application/json",
		success: function(result) {
			if(result)
			{
				GetCurrCompanyInfo(result._links.parent.href);
				$("#deptCode").val(result.orgName);
			}
		}
	});
}

function ModifyUserInfo() {
	var newUserInfoJSON = $("#ModifyPersonalInfo #modifyForm").serializeJson();
	$.ajax({
		type: "post",
		url: BASE_URL_USER +'/updateUser?v=' + Date.parse(new Date()),
		data: JSON.stringify(newUserInfoJSON),
		contentType: "application/json",
		success: function(result) {
			$("#ModifyPersonalInfo .confirm").removeAttr("disabled").text("确认");
			if(result.backValue === true)
			{
				$('#ModifyPersonalInfo').window('close');  //关闭窗口
				$("#role").text(newUserInfoJSON.userName);
				$.messager.alert('提示','<p>修改个人信息成功!</p>', 'info');
				setTimeout(function(){
					$("#datagrid").datagrid("reload", BASE_URL_USER_SEARCH + '/findByExample?v=' + Date.parse(new Date()));
				}, 100);
			}
			else
			{
				$.messager.alert('错误','<p>修改个人信息失败，' + result.backValue + '</p>', 'error');
			}
		},
		error: function() {
			$("#ModifyPersonalInfo .confirm").removeAttr("disabled").text("确认");
			$.messager.alert('错误','<p>服务异常，修改个人资料失败，请稍后重试!</p>', 'error');
		}
	});
}

function ModifyPassword() {
	var newPasswordJSON = {};//$("#modifyPassForm").serializeJson();
	newPasswordJSON["password"] = RSAUtils.encryptedString(key,$("#password").val());
	newPasswordJSON["oldPassword"] = RSAUtils.encryptedString(key,$("#oldPassword").val());
	$.ajax({
		type: "post",
		url: BASE_URL_USER +'/updateUser?v=' + Date.parse(new Date()),
		data: JSON.stringify(newPasswordJSON),
		contentType: "application/json",
		success: function(result) {
			$("#PassChange .confirm").removeAttr("disabled").text("确认");
			if(result.backValue === true)
			{
				$('#PassChange').window('close');  //关闭窗口
				$.messager.alert('提示','<p>修改密码成功!</p>', 'info');
			}
			else
			{
				$.messager.alert('错误','<p>修改密码失败！' + result.backValue + '</p>', 'error');
			}
		},
		error: function() {
			$("#PassChange .confirm").removeAttr("disabled").text("确认");
			$.messager.alert('错误','<p>服务异常，修改密码失败，请稍后重试!</p>', 'error');
		}
	});
}


	$("#Skinpeeler").click(function(){
		$('.replace').show()
	});

</script>
</body>
</html>